<include file="Public/head" />
<include file="Public/menu" />
<include file="Articlecategory/menu" />
<!-- 详情页 -->
<div class="indexBox">
    <div class="boxTitle">分类</div>
    <div id="alist">
        <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
            <tbody>
                <tr>
                    <th width="40" align="center">编号</th>
                    <th width="250" align="center">父级分类</th>
                    <th width="150" align="center">层级</th>
                    <th width="250" align="center">名称</th>
                    <th align="center">操作</th>
                </tr>
                <volist name="list" id="v">
                <tr>
                    <td align="center">{$v.id}</td>
                    <td align="center">{$v.pid}</td>
                    <td align="center">{$v.level}</td>
                    <td>{$v.html}{$v.name}</td>
                    <td align="center">
                        <a href="{:U('Articlecategory/editcate')}&id={$v.id}">编辑</a> | 
                        <a href="{:U('Articlecategory/del')}&id={$v.id}">删除</a>|
                        <a href="{:U('Articlecategory/addCate',array('pid' =>$v['id'],'level'=>$v['level'],'name'=>$v['name']))}">添加子类</a>
                    </td>
                </tr>
                </volist>
            </tbody>
        </table>
    </div>
    <div class="clear"></div>
    <script type="text/javascript">
        $(function(){
            $(".pager>div").css("display", "inline-block");
        });
    </script>
</div>
<include file="Public/footer" />